package kz.pdt12.hw.tests;

import kz.pdt12.hw.data.GroupData;
import kz.pdt12.hw.framework.ApplicationManager;
import kz.pdt12.hw.framework.JdbcHelper;
import kz.pdt12.hw.utils.SortedListOf;
import org.openqa.selenium.firefox.FirefoxDriver;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;

/**
 * Created with IntelliJ IDEA.
 * User: raimbek
 * Date: 14.04.13
 * Time: 20:59
 * To change this template use File | Settings | File Templates.
 */
public class Sample {
    public static void main(String[] args) throws IOException {
        Properties properties = new Properties();
        properties.load(new FileReader(new File("application.properties")));
        ApplicationManager app = new ApplicationManager(properties);
        System.out.println(app.getHibernateHelper().listGroups());
    }
}
